package com.wayin.lift.dao;

import com.wayin.lift.entity.ClockInEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wayin.lift.entityVO.ClockInVO;
import com.wayin.lift.entityVO.ResultVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 考勤表
 * 
 * @author HYXK
 * @email null@qq.com
 * @date 2020-05-26 09:56:38
 */
@Mapper
@Repository
public interface ClockInDao extends BaseMapper<ClockInEntity> {

    List<ClockInEntity> selectClockIn();

    List<ClockInEntity> selectThisDay(Long pId);

    List<ClockInVO> selectVO(Long pId);

    int insert(ClockInEntity clockInEntity);

    List<ResultVO> selectLate(String cDate);

    List<ResultVO> selectEarly(String cDate);

    List<ResultVO> selectOnDuty(String cDate);

}
